import request from '@/utils/request'
// 查询RFID标签列表
export const getRfidData = (params) =>{
  return request.get('/rfid-label-info/list',{params})
}
// 三分类查询
export const getRfidThreeData = (params) =>{
  return request.get('/rfid-label-info/listByCategory',{params})
}
// 新增RFID标签
export const addRfidData = (data) =>{
  return request.post('/rfid-label-info/add',data)
}
// 删除RFID标签
export const deleteRfidData = (id) =>{
  return request.delete('/rfid-label-info/delete',{params:{id}})
}
// 修改RFID标签
export const editRfidData = (data) =>{
  return request.post('/rfid-label-info/update',data)
}